package org.cx.myweb.vo;

import java.util.Date;

/**
 * Answer entity. @author MyEclipse Persistence Tools
 */

public class Answer implements java.io.Serializable {

	// Fields

	private Integer aid;
	private Question question;
	private String quesans;
	private String userid;
	private String grade;
	private Date anstime;
	private Integer status;

	// Constructors

	/** default constructor */
	public Answer() {
	}

	/** full constructor */
	public Answer(Question question, String quesans, String userid,
			String grade, Date anstime, Integer status) {
		this.question = question;
		this.quesans = quesans;
		this.userid = userid;
		this.grade = grade;
		this.anstime = anstime;
		this.status = status;
	}

	// Property accessors

	public Integer getAid() {
		return this.aid;
	}

	public void setAid(Integer aid) {
		this.aid = aid;
	}

	public Question getQuestion() {
		return this.question;
	}

	public void setQuestion(Question question) {
		this.question = question;
	}

	public String getQuesans() {
		return this.quesans;
	}

	public void setQuesans(String quesans) {
		this.quesans = quesans;
	}

	public String getUserid() {
		return this.userid;
	}

	public void setUserid(String userid) {
		this.userid = userid;
	}

	public String getGrade() {
		return this.grade;
	}

	public void setGrade(String grade) {
		this.grade = grade;
	}

	public Date getAnstime() {
		return this.anstime;
	}

	public void setAnstime(Date anstime) {
		this.anstime = anstime;
	}

	public Integer getStatus() {
		return this.status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

}